﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="jnews.aspx.cs" Inherits="cn_jnews" %>

<%@ Register src="common/top.ascx" tagname="top" tagprefix="uc1" %>
<%@ Register src="common/menu_jnews.ascx" tagname="menu_jnews" tagprefix="uc2" %>
<%@ Register src="common/menu_file.ascx" tagname="menu_file" tagprefix="uc3" %>
<%@ Register src="common/foot.ascx" tagname="foot" tagprefix="uc4" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="author" content="天台高佳计算机科技有限公司">
<title></title>
<link href="css/css_whir.css" rel="stylesheet" type="text/css" />
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
<script type="text/javascript">
        var subNav = "<%= _cid %>";
    </script>
</head>
<body>
    <form id="form1" runat="server">
   <!--top-->
 <uc1:top ID="top1" runat="server" />
<!--top-end-->
   
<div class="mainbox">
	<!--left-->
    <div class="rightbox" style="float:left;">      
        <uc2:menu_jnews ID="menu_jnews1" runat="server" /><uc3:menu_file ID="menu_file1" runat="server" />
    </div>
    <!--left-end-->    
    
    <!--right-->
    <div class="neibox">
    	<h1 class="cenbox_h1 neibox_h1"><asp:Literal ID="ltrTips" runat="server"></asp:Literal></h1>
        
        <ul class="news_ul jnews_ul">
           <asp:Repeater ID="rptList" runat="server">
<ItemTemplate>
           <li class="news_ul_left">
           		<a href="news_info.aspx?id=<%# Eval("Whir_U_News_PID") %>&cid=<%# Eval("TypeID") %>&mode=<%= mode %>" class="news_ul_lefta">
                <img onerror="this.src='images/nopic.jpg'" src="<%# ResolveClientUrl("~"+Whir.Common.Settings.GetPicServer()+Eval("UploadImg")) %>" width="145" height="86" /></a>
                   <%--     <img onerror="this.src='images/nopic.jpg'" src="<%# Whir.Common.Settings.GetPicServer()+Eval("uploadimg") %>" width="145" height="86" /></a>--%>
                <strong><%# Whir.Common.WebHelper.StringHelper.CutString(Eval("Title").ToString(), 20)%></strong>
                <p><%# Whir.Common.WebHelper.StringHelper.CutString(Whir.Common.WebHelper.StringHelper.RemoveHtml(Eval("Content").ToString()),140)%>
                <br /><a href="news_info.aspx?id=<%# Eval("Whir_U_News_PID") %>&cid=<%# Eval("TypeID") %>&mode=<%= mode %>" class="lmore">更多>></a></p>
                <div class="clear"></div>
           </li>
</ItemTemplate>
</asp:Repeater>
        </ul>  
           
        
        <div class="page">
                	<webdiyer:AspNetPager ID="AspNetPager1" runat="server" AlwaysShow="True" CssClass="f-gray"
                CustomInfoHTML="目前在第<font color=red>%currentPageIndex%</font>页,共有<font color=red>%PageCount%</font>页,共有<font color=red>%RecordCount%</font>条记录&nbsp;&nbsp;&nbsp;&nbsp;"
                FirstPageText="第一页" LastPageText="最后一页" NextPageText="下一页" OnPageChanged="AspNetPager1_PageChanged1"
                PageSize="4" PrevPageText="上一页" ShowCustomInfoSection="Left" ShowInputBox="Always"
                ShowPageIndex="False" Width="98%" SubmitButtonText="                       ." 
                        SubmitButtonClass="pagebutton">
            </webdiyer:AspNetPager>
        </div>
        
    </div>    
    <!--right-end-->
    
    <div class="clear"></div>  
</div>

<!--bottom-->
<uc4:foot ID="foot1" runat="server" />
<!--bottom-end-->
    
    </form>
</body>
</html>
